// 开启flex布局
@mixin flex($direction:column, $align:center, $justify:space-between) {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: $direction;
  flex-direction: $direction;
  align-items: $align;
  justify-content: $justify;
}

@mixin flex-x() {
  display: flex;
  align-items: center;
  justify-content: center;
}

@mixin flex-y() {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@mixin bg-img-full($url) {
  background-image: url($url);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

@mixin ellipsis($clamp:1) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@mixin link() {
  color: #FFA419;
}


@mixin base-title {
  font-size: 32px;
  font-weight: bold;
  color: #333333;
}
@mixin base-bg {
  background: #FFA419;
  background-size: 100vw;
  background-repeat: no-repeat;
  background-position-y: -25px;
}

@mixin base-card() {
  box-shadow: 0 0 10px 0 #e9edf4;
  border-radius: 5px;
  background: white;
}

@mixin base-select() {
  display: inline-flex;
  align-items: center;

  .select-item {
    width: 25px;
    height: 14px;
    border-radius: 5px;
    background: #F1F4F9;
    font-size: 14px;
    line-height: 2;
    text-align: center;
    margin-right: 10px;
    color: #5D5D5E;
  }
  .select-item:last-child {
    margin-right: 0;
  }

  .select-active {
    background: #F9DA32;
  }
}

$bs-color: #ffd000;
